/* static/styles.css */
body.kitchen-style {
    background-color: #f5e5d7; /* 淡黄色背景，模拟温馨的厨房环境 */
    font-family: Arial, sans-serif;
}

.recipe-container {
    margin: 100px auto;
    max-width: 800px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .recipe-container {
        position: absolute;
        left: 280px;
        max-width: 800px;
        padding: 20px;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
}

.markdown-content p {
    line-height: 1.5;
}

/* 示例：为标题添加一点木质感颜色 */
h1 {
    color: #6b4423;
    text-align: center;
    margin-bottom: 30px;
}

/* 根据需要添加更多样式 */
.header-image-container {
    position: relative;
    overflow: hidden;
}

.header-large-image {
    width: 100%;
    height: 240px;
    display: flex;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}
.thumbnail-container {
    position: relative;
}
.thumbnail-list {
    display: flex;
    transition: transform .3s ease-in-out;
}
.thumbnail-item {
    flex-shrink: 0; /* 防止列表项缩小 */
    position: relative; /* 使箭头能够相对定位 */
    overflow: hidden; /* 隐藏超出的内容 */
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1; /* 确保箭头在图片上方 */
}
.thumbnail-image {
    width: 9.8em; /* 假设这里有四个小图 */
    height: 9.8em; /* 假设这里有四个小图 */
    margin: 0.06em;
    transition: opacity 0.3s ease-in-out;
}
.left {
    left: 0; /* 左箭头的位置 */
}

.right {
    right: 0; /* 右箭头的位置 */
}
.thumbnail-image:hover,
.header-large-image:hover {
    opacity: 0.7;
}
